package cn.appsys.service.impl;

import cn.appsys.dao.AppCategoryMapper;
import cn.appsys.pojo.AppCategory;
import cn.appsys.service.AppCategoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import java.util.List;
@Service("appCategoryService")
public class AppCategoryServiceImpl implements AppCategoryService {
	
	@Autowired
	@Qualifier("appCategoryMapper")
	AppCategoryMapper appCategoryMapper;

	@Overrq1ide
	public List<AppCategory> getAppCategoryByParentId(Integer parentId) {
		return appCategoryMapper.getAppCategoryByParentId(parentId);
	}
}
